//
//  SceneHandler.h
//  cubemap
//
//  Created by AK on 2/1/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//


#ifdef __APPLE__
//#include <glew.h>
#include <OpenGL/gl.h>
#include <OpenGL/glu.h>
#include <GLUT/glut.h>
#else
#include <GL/glut.h>
#endif

#include "math.h"

//#include "png_reader.h"

#ifndef SCENEHANDLER_H
#define SCENEHANDLER_H


class SceneHandler
{

private:
    
    
    
public:
    SceneHandler();
    ~SceneHandler();
    
    void setupWindow(int pos_x, int pos_y, int width, int height, int argc, char * argv[], char *title);

    
    void setupPerspectiveViewPort(int window_width, int window_height);
    void setupViewPort(int window_width, int window_height);
    void setupOrthoProjection();
    void popViewPort();
    
    void drawQuad();
    
   // void drawQuad(int width, int height);
    void drawSphere();
    void drawSkyBox(GLuint enviromentMap);
        


};


#endif